package com.sls.web.manager.recharge.service;

import com.sls.web.manager.page.Pagination;
import com.sls.web.manager.pojo.UserInfoVO;
import com.sls.web.manager.recharge.pojo.SupplierDenomination;
import com.sls.web.manager.recharge.querybean.SupplierDenominationQuery;

public interface SupplierDenominationService {
	/**
	 * 添加充值面额
	 * 
	 * @param supplierDenomination
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public boolean add(SupplierDenomination supplier_denomination,
			UserInfoVO userinfo) throws Exception;

	/**
	 * 查询充值面额列表
	 * 
	 * @param supplierDenomination
	 * @param userinfo
	 * @return
	 */
	public Pagination<?> queryList(SupplierDenominationQuery rQuery,
			UserInfoVO userinfo) throws Exception;

	/**
	 * 删除充值面额
	 * 
	 * @param supplierDenomination
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public boolean delete(String id, UserInfoVO userinfo) throws Exception;

	/**
	 * 根据id查询充值面额
	 * 
	 * @param supplierDenomination
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public SupplierDenomination queryById(String id, UserInfoVO userinfo)
			throws Exception;

	/**
	 * 修改充值面额
	 * 
	 * @param supplierDenomination
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public boolean update(SupplierDenomination s, UserInfoVO userinfo)
			throws Exception;
	/**
	 * 禁用充值面额
	 * 
	 * @param supplierDenomination
	 * @param userinfo
	 * @return
	 * @throws Exception
	 */
	public boolean updateRechargeById(String id, UserInfoVO userinfo)
			throws Exception;
}
